package com.audaque.springboot.foshanupload.web.openfeigndemo.feign.api;

import com.audaque.springboot.foshanupload.openfeign.interceptor.FeignRequestInterceptor;
import com.audaque.springboot.foshanupload.web.openfeigndemo.feign.api.fallback.FeignFallback;
import com.audaque.springboot.foshanupload.web.openfeigndemo.feign.api.fallback.FeignRibbonFallback;
import com.audaque.springboot.foshanupload.web.openfeigndemo.service.FeignRibbonService;
import com.audaque.springboot.foshanupload.web.openfeigndemo.service.FeignService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(
        //name：服务名称 （注：若使用注册中心，此处应该写生产者服务名称）
        name = "openfeigndemo-local",
        configuration = FeignRequestInterceptor.class,
        fallback = FeignRibbonFallback.class
)
public interface FeignRibbonFeign extends FeignRibbonService {


}